import React from 'react';
import { useRoutes } from 'react-router-dom';
import routes from './routes';
type Props = {};

export default function Index1({ }: Props) {
    // 定义路由表规则
    const ele = useRoutes(routes)

    // console.log('ele', ele); 

    return (
        <div>
            {ele}
        </div>
    )
}